import uuid


# 生成长度为10的UUID字符串
def generate_short_uuid(length=10) -> str:
    return str(uuid.uuid4()).replace('-', '')[:length]